#!/bin/bash

curl -XDELETE http://localhost:9200/test
curl -XDELETE http://localhost:9200/test2

#或者删除这一批
# curl -XDELETE http://localhost:9200/test*

echo ""